/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Current.Units;

import java.io.Serializable;

/**
 * @author Fork
 */
public class Sentries extends Unit implements Serializable, Cloneable {

    private int spyDefenseIncrease;

    public Sentries(int costToTrain, int haveTrained, boolean untrainable, int spyDefenseIncrease) {
        super(costToTrain, haveTrained, untrainable);
        this.spyDefenseIncrease = spyDefenseIncrease;
    }

    //Stat Incrtease Info Handling
    public int getSpyDefenseIncrease() {
        return spyDefenseIncrease;
    }

    public int getTotalSpyDefenseIncrease() {
        return spyDefenseIncrease * haveTrained;
    }
}
